package 五子棋0608;

public class Chess {
    int chessFlag;
    int x,y,index;

    public Chess(int x,int y, int chessFlag ,int i){
        this.x = x;
        this.y = y;
        this.chessFlag = chessFlag;
        index = i;
    }

    public String toString(){
        String string = chessFlag + "_" + x + "_" + y + "_" + index;
        return string;
    }
}
